#pragma once
#include "ydbcmd.h"
class YGoodsTab;

class YGoodsTabCmd : public YDbCmd
{
public:
	YGoodsTabCmd(void);
public:
	~YGoodsTabCmd(void);

	BOOL Add(YGoodsTab* pYGoodsTab);
	BOOL DelByID(int nID);
	BOOL EditByID(YGoodsTab* pYGoodsTab);
	void GetByID(YGoodsTab* pYGoodsTab);
	void Get(CTypedPtrList<CPtrList, YGoodsTab *>*pRecList);

};
